package com.px.service;

import com.px.dto.ReturnResult;
import com.px.pojo.ShUser;

public interface UserService {
    /**
     * 注册
     * @param shUser
     * @return
     * @throws Exception
     */
    ReturnResult login(ShUser shUser)throws Exception;

    /**
     * 登录
     * @param account
     * @param password
     * @return
     * @throws Exception
     */
    ReturnResult denglu(String account,String password)throws Exception;

    /**
     * 退出
     * @param
     * @return
     * @throws Exception
     */
    ReturnResult deleteToken(String token)throws Exception;


}
